//
//  MusicManager.h
//  SleepingElf
//
//  Created by karong on 2023/10/17.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MusicManager : NSObject
@property (nonatomic, strong) MusicModel * music;
@property (nonatomic, assign) BOOL isPlaying;
@property (nonatomic, assign) NSInteger type;
- (void)playWithMusic:(MusicModel *)music;
- (void)keepAlivePlay;
- (void)resume;
- (void)pause;
- (void)stop;

- (CGFloat)playerVolume;
- (void)changePlayerVolume:(float)volume;
@end

NS_ASSUME_NONNULL_END
